<template>
    <div class="e-table">
        <el-table
            :data="tableData"
            border
            ref="table"
            class="table"
            style="width: 100%"
            :max-height="$store.state.tableHeight"
            @cell-mouse-enter="cellMouseEnter"
            @cell-mouse-leave="cellMouseLeave"
            :cell-class-name="cellClsNm"
            :header-cell-style="{ textAlign: 'center' }"
            :cell-style="{ textAlign: 'center' }"
            v-sortTable="{ tableData: tableData, _this: this, ref: 'table' }"
        >
            <el-table-column type="selection" width="60"> </el-table-column>
            <el-table-column prop="a" label="序号" width="60">
            </el-table-column>
            <el-table-column prop="b" label="信用等级" width="150">
            </el-table-column>
            <el-table-column prop="c" label="分包商名称" width="150">
            </el-table-column>
            <el-table-column prop="c" label="管理单位" width="150">
            </el-table-column>
            <el-table-column prop="c" label="优秀班组" width="150">
            </el-table-column>
            <el-table-column
                prop="c"
                label="优秀现场负责人及其班组长"
                width="200"
            >
            </el-table-column>
            <el-table-column prop="c" label="评价单位" width="150">
            </el-table-column>
            <el-table-column prop="c" label="评价方式" width="150">
            </el-table-column>
            <el-table-column prop="c" label="评价时间" width="150">
            </el-table-column>
            <el-table-column prop="c" label="备注" width="150">
            </el-table-column>
        </el-table>
    </div>
</template>
<script>
export default {
    data () {
        return {
            tableData: []
        }
    },
    methods: {
        cellClsNm ({ column }) {
            if (column.label === '') {
                return 'fixed-left'
            }
        },
        cellMouseEnter () {
            console.log()
        },
        cellMouseLeave () {
            console.log()
        }
    }
}
</script>
